from sqlalchemy import String
from sqlalchemy.orm import Mapped, mapped_column

from app.core.database import Base


class ReportClassification(Base):
    __tablename__ = "report_classifications"

    name: Mapped[str] = mapped_column(String(100), unique=True, index=True, nullable=False)

    def __repr__(self) -> str:
        return f"<ReportClassification(id={self.id}, name={self.name})>"